package cn.stylefeng.guns.modular.pandian.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.pandian.entity.PandianJihua;
import cn.stylefeng.guns.modular.pandian.model.params.PandianJihuaParam;
import cn.stylefeng.guns.modular.pandian.model.result.PandianJihuaResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 盘点计划表 服务类
 */
public interface PandianJihuaService extends IService<PandianJihua> {

    /**
     * 新增
     *
     * @author zhucx
     * @Date 2022-01-07
     */
    void add(PandianJihuaParam param);

    /**
     * 删除
     *
     * @author zhucx
     * @Date 2022-01-07
     */
    void delete(PandianJihuaParam param);

    /**
     * 更新
     *
     * @author zhucx
     * @Date 2022-01-07
     */
    void update(PandianJihuaParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author zhucx
     * @Date 2022-01-07
     */
    PandianJihuaResult findBySpec(PandianJihuaParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author zhucx
     * @Date 2022-01-07
     */
    List<PandianJihuaResult> findListBySpec(PandianJihuaParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author zhucx
     * @Date 2022-01-07
     */
     LayuiPageInfo findPageBySpec(PandianJihuaParam param,String condition,Long operateId);

	LayuiPageInfo findPageBySpecApplets(PandianJihuaParam param, String condition,Long operateId);

}
